#! /bin/bash
curdir='pwd'
export GOPATH=$GOPATH:$curdir


build()
{
    cd ./src/note/AminServer
    go build -tags "debug" main.go
    cd ../../../
    cd ./src/Client
    go build -tags "debug" main.go
}

stopServer()
{
    pkill -9 -f "${BINDIR}/AdminSever" -u `whoami`
}

startServer()
{
        cd ./bin
        $BINDIR/AdminServer &
        sleep 3
}